magnify: check the image conversion worked
authorSteve Lhomme <robux4@ycbcr.xyz>
Thu, 18 Jul 2024 07:23:58 +0000 (09:23 +0200)
committerSebastian Ramacher <sramacher@debian.org>
Tue, 21 Jan 2025 18:02:47 +0000 (19:02 +0100)
commit4120fe51fd7ce51d2c0a607a06426bf105ab3ada
treefce6ce3f6403833833515c72baae791e01c27528
parentfaa5596cad93e1a492625bfdb8a76158f6ec688e
magnify: check the image conversion worked

return NULL on failure as we cannot produce the required output.

Fixes #28707

(cherry picked from commit 990de75bc0a7db5f2c4e4cb88e868b75b689ac7d) (rebased)
rebased:
- picture_CopyPixels is called picture_CopyVisiblePixels on 4.0
Signed-off-by: Steve Lhomme <robux4@ycbcr.xyz>
Gbp-Pq: Name 0018-magnify-check-the-image-conversion-worked.patch
modules/video_filter/magnify.c